package com.zeny.xdclass.mapper;

import com.zeny.xdclass.domain.Video;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description video数据访问层
 **/
public interface VideoMapper {


    List<Video> findAll();

    Video findById(@Param("id") Integer id);

    Integer update(Video video);

    Integer delete(@Param("id") Integer id);

    Integer save(Video video);
}
